﻿using System;
using System.ComponentModel;
using System.Xml.Serialization;
using DevExpress.Xpo;
using DevExpress.Xpo.Metadata;
using DevExpress.Xpo.Helpers;
using DevExpress.Data.Filtering;
using DevExpress.ExpressApp;
using DevExpress.Persistent.Base;
using DevExpress.Persistent.BaseImpl;
using DevExpress.Persistent.Validation;
namespace Top.Module.Domain
{
    [DefaultClassOptions]
    [Persistent("TopWlbOrderItem")]
    public class TopWlbOrderItem : BaseObject
    {
        //begin
        public TopWlbOrderItem()
        {}
        public TopWlbOrderItem(Session session) : base(session)
        {}
        public override void AfterConstruction(){base.AfterConstruction();}

        private string _OrderCode;
        public string OrderCode
        {
            get
            {
                return _OrderCode;
            }
            set
            {
                SetPropertyValue("OrderCode", ref _OrderCode, value);
            }
        }
        private string _ItemName;
        public string ItemName
        {
            get
            {
                return _ItemName;
            }
            set
            {
                SetPropertyValue("ItemName", ref _ItemName, value);
            }
        }
        private string _ItemCode;
        public string ItemCode
        {
            get
            {
                return _ItemCode;
            }
            set
            {
                SetPropertyValue("ItemCode", ref _ItemCode, value);
            }
        }
        private long _PlanQuantity;
        public long PlanQuantity
        {
            get
            {
                return _PlanQuantity;
            }
            set
            {
                SetPropertyValue("PlanQuantity", ref _PlanQuantity, value);
            }
        }
        private long _RealQuantity;
        public long RealQuantity
        {
            get
            {
                return _RealQuantity;
            }
            set
            {
                SetPropertyValue("RealQuantity", ref _RealQuantity, value);
            }
        }
        private string _ConfirmStatus;
        public string ConfirmStatus
        {
            get
            {
                return _ConfirmStatus;
            }
            set
            {
                SetPropertyValue("ConfirmStatus", ref _ConfirmStatus, value);
            }
        }
        private string _OrderId;
        public string OrderId
        {
            get
            {
                return _OrderId;
            }
            set
            {
                SetPropertyValue("OrderId", ref _OrderId, value);
            }
        }
        private string _Id;
        public string Id
        {
            get
            {
                return _Id;
            }
            set
            {
                SetPropertyValue("Id", ref _Id, value);
            }
        }
        private string _UserId;
        public string UserId
        {
            get
            {
                return _UserId;
            }
            set
            {
                SetPropertyValue("UserId", ref _UserId, value);
            }
        }
        private string _UserNick;
        public string UserNick
        {
            get
            {
                return _UserNick;
            }
            set
            {
                SetPropertyValue("UserNick", ref _UserNick, value);
            }
        }
        private string _OrderSubType;
        public string OrderSubType
        {
            get
            {
                return _OrderSubType;
            }
            set
            {
                SetPropertyValue("OrderSubType", ref _OrderSubType, value);
            }
        }
        private string _OrderSubCode;
        public string OrderSubCode
        {
            get
            {
                return _OrderSubCode;
            }
            set
            {
                SetPropertyValue("OrderSubCode", ref _OrderSubCode, value);
            }
        }
        private string _OrderSub2code;
        public string OrderSub2code
        {
            get
            {
                return _OrderSub2code;
            }
            set
            {
                SetPropertyValue("OrderSub2code", ref _OrderSub2code, value);
            }
        }
        private string _ItemId;
        public string ItemId
        {
            get
            {
                return _ItemId;
            }
            set
            {
                SetPropertyValue("ItemId", ref _ItemId, value);
            }
        }
        private string _ProviderTpId;
        public string ProviderTpId
        {
            get
            {
                return _ProviderTpId;
            }
            set
            {
                SetPropertyValue("ProviderTpId", ref _ProviderTpId, value);
            }
        }
        private string _ProviderTpNick;
        public string ProviderTpNick
        {
            get
            {
                return _ProviderTpNick;
            }
            set
            {
                SetPropertyValue("ProviderTpNick", ref _ProviderTpNick, value);
            }
        }
        private long _ItemPrice;
        public long ItemPrice
        {
            get
            {
                return _ItemPrice;
            }
            set
            {
                SetPropertyValue("ItemPrice", ref _ItemPrice, value);
            }
        }
        private long _PublishVersion;
        public long PublishVersion
        {
            get
            {
                return _PublishVersion;
            }
            set
            {
                SetPropertyValue("PublishVersion", ref _PublishVersion, value);
            }
        }
        private string _Remark;
        public string Remark
        {
            get
            {
                return _Remark;
            }
            set
            {
                SetPropertyValue("Remark", ref _Remark, value);
            }
        }
        private string _BatchRemark;
        public string BatchRemark
        {
            get
            {
                return _BatchRemark;
            }
            set
            {
                SetPropertyValue("BatchRemark", ref _BatchRemark, value);
            }
        }
        private string _PictureUrl;
        public string PictureUrl
        {
            get
            {
                return _PictureUrl;
            }
            set
            {
                SetPropertyValue("PictureUrl", ref _PictureUrl, value);
            }
        }
        private string _ExtEntityType;
        public string ExtEntityType
        {
            get
            {
                return _ExtEntityType;
            }
            set
            {
                SetPropertyValue("ExtEntityType", ref _ExtEntityType, value);
            }
        }
        private string _ExtEntityId;
        public string ExtEntityId
        {
            get
            {
                return _ExtEntityId;
            }
            set
            {
                SetPropertyValue("ExtEntityId", ref _ExtEntityId, value);
            }
        }
        //end
    }
}
